Restrict

annotation class Restrict(val min: Long = Long.MIN_VALUE, val max: Long = Long.MAX_VALUE)

Annotation-driven validation for Longs

Author

fzzyhmstrs

Since

0.2.0

Parameters

min

: Long - minimum allowable value, default to Long.MIN_VALUE

max

: Long - maximum allowable value, default to Long.MAX_VALUE

Properties

Link copied to clipboard
val max: Long
Link copied to clipboard
val min: Long